//
//  DropCell.m
//  ChatDemo-UI2.0
//
//  Created by zz on 16/5/25.
//  Copyright © 2016年 zz. All rights reserved.
//

#import "DropCell.h"

@implementation DropCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        _classLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 130, self.contentView.frame.size.height)];
        _classLabel.textColor = [UIColor whiteColor];
        _classLabel.font = [UIFont systemFontOfSize:15];
        _classLabel.textAlignment = NSTextAlignmentCenter;
        
        _line = [[UIView alloc] initWithFrame:CGRectMake(15, self.contentView.frame.size.height - 0.5, 100, 0.5)];
        _line.backgroundColor = RGBACOLOR(150, 150, 150, 1);

        [self.contentView addSubview:_classLabel];
        
        [self.contentView addSubview:_line];
    }
    
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
